<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<script type="text/javascript">
//js实现退出跳转servlet
	function logout(){
		if (confirm("您确定要退出控制面板吗？"))
		top.location ="<%=path%>/admin/AdminManagereServlet?flag=_logout";
		return false;
	}
</script>
<div class="topbar-wrap white">
	<div class="topbar-inner clearfix">
		<div class="topbar-logo-wrap clearfix">
			<h1 class="topbar-logo none">
				<a href="index.html" class="navbar-brand">后台管理</a>
			</h1>
			<ul class="navbar-list clearfix">
				<li><a class="on" href="<%=path%>/jsp/admin/index.jsp">首页</a></li>
				<li><a href="<%=path%>/html/index.jsp" target="_blank">网站首页</a></li>
			</ul>
		</div>
		<div class="top-info-wrap">
			<ul class="top-info-list clearfix">
			
			<!-- 点击修改密码，跳转到修改密码的jsp页面 -->
				<li><a href="<%=path%>/jsp/admin/changPass.jsp">修改密码</a></li>
				<li><a href="#" onClick="logout();">退出</a></li>
			</ul>
		</div>
	</div>
</div>